package com.lang.floats;

public class JavafloatToFloatExample {
	public static void main(String[] args) {
		float f = 10.56f;

		/*
		 * Use Float constructor to convert float primitive type to a Float
		 * object.
		 */

		Float fObj = new Float(f);
		System.out.println(fObj);

	}
}
